merge sort algorithm python